From geoip1:
object(GeoIp2\Model\City)#5 (12) {
["city":protected]=>
object(GeoIp2\Record\City)#14 (3) {
["validAttributes":protected]=>
array(3) {
[0]=>
string(10) "confidence"
[1]=>
string(9) "geonameId"
[2]=>
string(5) "names"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(2) {
["geoname_id"]=>
int(5809844)
["names"]=>
array(7) {
["de"]=>
string(7) "Seattle"
["en"]=>
string(7) "Seattle"
["es"]=>
string(7) "Seattle"
["fr"]=>
string(7) "Seattle"
["ja"]=>
string(12) "シアトル"
["pt-BR"]=>
string(7) "Seattle"
["ru"]=>
string(10) "Сиэтл"
}
}
}
["location":protected]=>
object(GeoIp2\Record\Location)#15 (2) {
["validAttributes":protected]=>
array(9) {
[0]=>
string(13) "averageIncome"
[1]=>
string(14) "accuracyRadius"
[2]=>
string(8) "latitude"
[3]=>
string(9) "longitude"
[4]=>
string(9) "metroCode"
[5]=>
string(17) "populationDensity"
[6]=>
string(10) "postalCode"
[7]=>
string(16) "postalConfidence"
[8]=>
string(8) "timeZone"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(5) {
["accuracy_radius"]=>
int(1000)
["latitude"]=>
float(47.6348)
["longitude"]=>
float(-122.3451)
["metro_code"]=>
int(819)
["time_zone"]=>
string(19) "America/Los_Angeles"
}
}
["postal":protected]=>
object(GeoIp2\Record\Postal)#16 (2) {
["validAttributes":protected]=>
array(2) {
[0]=>
string(4) "code"
[1]=>
string(10) "confidence"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(1) {
["code"]=>
string(5) "98109"
}
}
["subdivisions":protected]=>
array(1) {
[0]=>
object(GeoIp2\Record\Subdivision)#17 (3) {
["validAttributes":protected]=>
array(4) {
[0]=>
string(10) "confidence"
[1]=>
string(9) "geonameId"
[2]=>
string(7) "isoCode"
[3]=>
string(5) "names"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(3) {
["geoname_id"]=>
int(5815135)
["iso_code"]=>
string(2) "WA"
["names"]=>
array(6) {
["en"]=>
string(10) "Washington"
["es"]=>
string(10) "Washington"
["fr"]=>
string(10) "Washington"
["ja"]=>
string(18) "ワシントン州"
["ru"]=>
string(18) "Вашингтон"
["zh-CN"]=>
string(12) "华盛顿州"
}
}
}
}
["continent":protected]=>
object(GeoIp2\Record\Continent)#8 (3) {
["validAttributes":protected]=>
array(3) {
[0]=>
string(4) "code"
[1]=>
string(9) "geonameId"
[2]=>
string(5) "names"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(3) {
["code"]=>
string(2) "NA"
["geoname_id"]=>
int(6255149)
["names"]=>
array(8) {
["de"]=>
string(11) "Nordamerika"
["en"]=>
string(13) "North America"
["es"]=>
string(13) "Norteamérica"
["fr"]=>
string(17) "Amérique du Nord"
["ja"]=>
string(15) "北アメリカ"
["pt-BR"]=>
string(17) "América do Norte"
["ru"]=>
string(31) "Северная Америка"
["zh-CN"]=>
string(9) "北美洲"
}
}
}
["country":protected]=>
object(GeoIp2\Record\Country)#9 (3) {
["validAttributes":protected]=>
array(4) {
[0]=>
string(10) "confidence"
[1]=>
string(9) "geonameId"
[2]=>
string(7) "isoCode"
[3]=>
string(5) "names"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(3) {
["geoname_id"]=>
int(6252001)
["iso_code"]=>
string(2) "US"
["names"]=>
array(8) {
["de"]=>
string(3) "USA"
["en"]=>
string(13) "United States"
["es"]=>
string(14) "Estados Unidos"
["fr"]=>
string(11) "États-Unis"
["ja"]=>
string(21) "アメリカ合衆国"
["pt-BR"]=>
string(14) "Estados Unidos"
["ru"]=>
string(6) "США"
["zh-CN"]=>
string(6) "美国"
}
}
}
["locales":protected]=>
array(1) {
[0]=>
string(2) "en"
}
["maxmind":protected]=>
object(GeoIp2\Record\MaxMind)#10 (2) {
["validAttributes":protected]=>
array(1) {
[0]=>
string(16) "queriesRemaining"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(0) {
}
}
["registeredCountry":protected]=>
object(GeoIp2\Record\Country)#11 (3) {
["validAttributes":protected]=>
array(4) {
[0]=>
string(10) "confidence"
[1]=>
string(9) "geonameId"
[2]=>
string(7) "isoCode"
[3]=>
string(5) "names"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(3) {
["geoname_id"]=>
int(6252001)
["iso_code"]=>
string(2) "US"
["names"]=>
array(8) {
["de"]=>
string(3) "USA"
["en"]=>
string(13) "United States"
["es"]=>
string(14) "Estados Unidos"
["fr"]=>
string(11) "États-Unis"
["ja"]=>
string(21) "アメリカ合衆国"
["pt-BR"]=>
string(14) "Estados Unidos"
["ru"]=>
string(6) "США"
["zh-CN"]=>
string(6) "美国"
}
}
}
["representedCountry":protected]=>
object(GeoIp2\Record\RepresentedCountry)#12 (3) {
["validAttributes":protected]=>
array(5) {
[0]=>
string(10) "confidence"
[1]=>
string(9) "geonameId"
[2]=>
string(7) "isoCode"
[3]=>
string(5) "names"
[4]=>
string(4) "type"
}
["locales":"GeoIp2\Record\AbstractPlaceRecord":private]=>
array(1) {
[0]=>
string(2) "en"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(0) {
}
}
["traits":protected]=>
object(GeoIp2\Record\Traits)#13 (2) {
["validAttributes":protected]=>
array(11) {
[0]=>
string(22) "autonomousSystemNumber"
[1]=>
string(28) "autonomousSystemOrganization"
[2]=>
string(14) "connectionType"
[3]=>
string(6) "domain"
[4]=>
string(16) "isAnonymousProxy"
[5]=>
string(17) "isLegitimateProxy"
[6]=>
string(19) "isSatelliteProvider"
[7]=>
string(3) "isp"
[8]=>
string(9) "ipAddress"
[9]=>
string(12) "organization"
[10]=>
string(8) "userType"
}
["record":"GeoIp2\Record\AbstractRecord":private]=>
array(1) {
["ip_address"]=>
string(13) "3.148.178.125"
}
}
["raw":protected]=>
array(8) {
["city"]=>
array(2) {
["geoname_id"]=>
int(5809844)
["names"]=>
array(7) {
["de"]=>
string(7) "Seattle"
["en"]=>
string(7) "Seattle"
["es"]=>
string(7) "Seattle"
["fr"]=>
string(7) "Seattle"
["ja"]=>
string(12) "シアトル"
["pt-BR"]=>
string(7) "Seattle"
["ru"]=>
string(10) "Сиэтл"
}
}
["continent"]=>
array(3) {
["code"]=>
string(2) "NA"
["geoname_id"]=>
int(6255149)
["names"]=>
array(8) {
["de"]=>
string(11) "Nordamerika"
["en"]=>
string(13) "North America"
["es"]=>
string(13) "Norteamérica"
["fr"]=>
string(17) "Amérique du Nord"
["ja"]=>
string(15) "北アメリカ"
["pt-BR"]=>
string(17) "América do Norte"
["ru"]=>
string(31) "Северная Америка"
["zh-CN"]=>
string(9) "北美洲"
}
}
["country"]=>
array(3) {
["geoname_id"]=>
int(6252001)
["iso_code"]=>
string(2) "US"
["names"]=>
array(8) {
["de"]=>
string(3) "USA"
["en"]=>
string(13) "United States"
["es"]=>
string(14) "Estados Unidos"
["fr"]=>
string(11) "États-Unis"
["ja"]=>
string(21) "アメリカ合衆国"
["pt-BR"]=>
string(14) "Estados Unidos"
["ru"]=>
string(6) "США"
["zh-CN"]=>
string(6) "美国"
}
}
["location"]=>
array(5) {
["accuracy_radius"]=>
int(1000)
["latitude"]=>
float(47.6348)
["longitude"]=>
float(-122.3451)
["metro_code"]=>
int(819)
["time_zone"]=>
string(19) "America/Los_Angeles"
}
["postal"]=>
array(1) {
["code"]=>
string(5) "98109"
}
["registered_country"]=>
array(3) {
["geoname_id"]=>
int(6252001)
["iso_code"]=>
string(2) "US"
["names"]=>
array(8) {
["de"]=>
string(3) "USA"
["en"]=>
string(13) "United States"
["es"]=>
string(14) "Estados Unidos"
["fr"]=>
string(11) "États-Unis"
["ja"]=>
string(21) "アメリカ合衆国"
["pt-BR"]=>
string(14) "Estados Unidos"
["ru"]=>
string(6) "США"
["zh-CN"]=>
string(6) "美国"
}
}
["subdivisions"]=>
array(1) {
[0]=>
array(3) {
["geoname_id"]=>
int(5815135)
["iso_code"]=>
string(2) "WA"
["names"]=>
array(6) {
["en"]=>
string(10) "Washington"
["es"]=>
string(10) "Washington"
["fr"]=>
string(10) "Washington"
["ja"]=>
string(18) "ワシントン州"
["ru"]=>
string(18) "Вашингтон"
["zh-CN"]=>
string(12) "华盛顿州"
}
}
}
["traits"]=>
array(1) {
["ip_address"]=>
string(13) "3.148.178.125"
}
}
}
float(-122.3451)
float(47.6348)
Sorry, an error occurred.